/*=============================================
=                  Shortcodes                 =
=============================================*/

/*----------  Latest joined members shortcode  ----------*/

@media screen and (max-width: 979px) {
  table.tmf-current-members tr td.company-joined-date {
    border-left: 0;
    padding: 11px 33px;
    line-height: 32px;
  }
  table.tmf-current-members tr td {
    border-right: 0;
  }
  table.tmf-current-members tr th {
    border: 0;
  }
  table.tmf-current-members tbody tr td {
    padding: 11px 33px;
    line-height: 32px;
  }
  .alphabet {
    padding-left: 20px;
    padding-right: 10px;
    margin-bottom: 43px;
  }
  .tmf-current-members-list li.title {
    padding-left: 20px;
    padding-right: 20px;
  }
  .alphabet .alphabet__filter-by {
    display: block;
  }
  .alphabet a {
    margin-left: 0;
    margin-right: 15px;
  }
}

@media screen and (max-width: 767px) {
  .responsive .row-fluid [class*='span'] {
    display: block;
    float: left;
    width: 100%;
    min-height: 30px;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    margin-bottom: 0px;
  }
  .responsive .row-fluid [class*='span'].tmf-current-members-column__empty {
    display: none;
  }

  .responsive .row-fluid [class*='span'].tmf-current-members-column {
    margin-bottom: 0;
  }

  .tmf-current-members-list__row {
    border: none;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
    display: -moz-box;
  }

  #members_index
    + .row-fluid.pb30
    > .tmf-current-members-list:first-child
    .back-to-top {
    display: none;
  }

  .row-fluid .tmf-current-members-list__row li.span4 a {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .responsive .row-fluid .tmf-current-members-list__row .span4:first-child {
    margin-left: 22px;
  }

  .row-fluid .tmf-current-members-list__row li.span4 {
    margin-left: 22px;
    margin-right: 22px;
  }

  .row-fluid .tmf-current-members-list__row li.span4:not(:first-child) {
    border-top: 1px solid #c8cdd3;
  }

  .row-fluid .tmf-current-members-list__row:nth-child(even) {
    background-color: #f5f4f4;
    border: 1px solid #c8cdd3;
  }

  .row-fluid .tmf-current-members-list__row:nth-child(odd) {
    border: none;
    background-color: transparent;
  }

  .row-fluid .tmf-current-members-list__row:nth-child(even) li.span4 {
    border-left: 0;
  }

  table.tmf-current-members .first-col {
    width: 100%;
  }

  table.tmf-current-members .second-col {
    display: none;
  }

  .company-joined-date {
    display: none;
  }

  .company-joined-date-sm {
    display: block;
  }
  .alphabet {
    margin-bottom: 35px;
  }
}

/*=====        End of Shortcodes       ======*/

/*=====        Infobox       ======*/

@media (max-width: 480px) {
  .infobox {
    padding: 30px !important;
  }
}

/*=====       Resources       ====*/

@media (max-width: 1023px) {
  #resources-filter .view-page {
    width: 100%;
    padding-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .woocommerce-pagination {
    justify-content: center;
  }
  #resources-filter .list-or-grid {
    margin-right: auto;
  }
  .products.columns-3 {
    margin: 0;
  }
}
@media (max-width: 374px) {
  #resources-filter .list-or-grid {
    margin: 10px;
  }
}
